#!/usr/bin/env python
# -*- coding: utf-8 -*-

from dataclasses import dataclass
from typing import Optional

@dataclass
class DevData:
    """
    设备数据

    @Author: kindey
    @Date: 2025/6/13
    @Description: 表示从设备中采集的数据记录
    """
    data_id: int
    dev_id: int
    reg_id: int
    data_value: float
    data_time: str
    id: Optional[int] = None